package com.smart.five.ioc.injection.factory.static_;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author junrui.wang
 * @create 2018/6/5
 */
public class Test {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("com/smart/five/ioc/injection/factory/static_/beans.xml");
        Car car = (Car)ac.getBean("car");
        car.introduce();
    }
}
